package io.github.zerobyteword.oneasynctool;

import java.util.Map;

public class MyWorkerJob implements WorkerJob<String, String> {
    @Override
    public String process(String params, Map<String, Object> resultMap) throws Throwable {
        return params;
    }

    @Override
    public String exceptionHandler(String params, Map<String, Object> resultMap, Throwable e) throws Throwable {
        return "worker1--default";
    }
}
